package it.eg.managedcor.example;


import it.eg.managedcor.exceptions.RollbackException;
import it.eg.managedcor.impl.TaskExecutionResult;

import org.apache.log4j.Logger;

public class RollbackTestTask implements TestProcessTask{

	@Override
	public TaskExecutionResult performTask(TestProcessSession sessionData) {
		
		return TaskExecutionResult.NOT_PERFORMED_ROLLBACK_EXECUTION;
	}

	@Override
	public void rollback(TestProcessSession sessionData) throws RollbackException {
		Logger.getLogger(RollbackTestTask.class).info("RollbackTestTask.rollback() - executed");
	}

}
